/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.star.common;

/**
 *
 * @author Administrator
 */
public class UserGroupData {
    String id;
    String groupname;
    String grouprole;    
    long created;
    
     // contructor for add new
    public UserGroupData(String groupName, String groupRole) {
        this.groupname = groupName;
        this.grouprole = groupRole;
        this.created = System.currentTimeMillis();        
    }

    // contructor for edit
    public UserGroupData(String id, String groupName, String groupRole) {
        this.id = id;        
        this.groupname = groupName;
        this.grouprole = groupRole;
    }

    public UserGroupData(String id, String groupName, String groupRole, long created) {
        this.id = id;
        this.groupname = groupName;
        this.grouprole = groupRole;
        this.created = created;    
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGroupName() {
        return groupname;
    }

    public void setGroupName(String groupName) {
        this.groupname = groupName;
    }

    public String getGroupRole() {
        return grouprole;
    }

    public void setGroupRole(String groupRole) {
        this.grouprole = groupRole;
    }

    public long getCreated() {
        return created;
    }

    public void setCreated(long created) {
        this.created = created;
    }
    
    
}
